package com.philips.work.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.philips.common.core.annotation.Excel;
import com.philips.common.core.web.domain.BaseEntity;

/**
 * 字典对象 yw_dict
 * 
 * @author philips
 * @date 2025-05-19
 */
public class YwDict extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String ids;

    /** 字典类型，用来区分各个字典 */
    @Excel(name = "字典类型，用来区分各个字典")
    private String dictType;

    /** 字典名称 */
    @Excel(name = "字典名称")
    private String dictName;

    /** 排序，每个类型内独立排序，没有的话就按时间来 */
    @Excel(name = "排序，每个类型内独立排序，没有的话就按时间来")
    private Long orders;

    /** 数据创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "数据创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addTime;

    /** 最后更新时间 */
    private Date upTime;

    public void setIds(String ids) 
    {
        this.ids = ids;
    }

    public String getIds() 
    {
        return ids;
    }

    public void setDictType(String dictType) 
    {
        this.dictType = dictType;
    }

    public String getDictType() 
    {
        return dictType;
    }

    public void setDictName(String dictName) 
    {
        this.dictName = dictName;
    }

    public String getDictName() 
    {
        return dictName;
    }

    public void setOrders(Long orders) 
    {
        this.orders = orders;
    }

    public Long getOrders() 
    {
        return orders;
    }

    public void setAddTime(Date addTime) 
    {
        this.addTime = addTime;
    }

    public Date getAddTime() 
    {
        return addTime;
    }

    public void setUpTime(Date upTime) 
    {
        this.upTime = upTime;
    }

    public Date getUpTime() 
    {
        return upTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ids", getIds())
            .append("dictType", getDictType())
            .append("dictName", getDictName())
            .append("orders", getOrders())
            .append("addTime", getAddTime())
            .append("upTime", getUpTime())
            .toString();
    }
}
